projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
604da88
)
imcontext: Fix typo on ctrl+shift+u hex sequences handling
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 2 Oct 2017 16:11:53 +0000
(18:11 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Mon, 2 Oct 2017 16:13:57 +0000
(18:13 +0200)
This condition was meant to exit when the event has no keyval (eg. fed a
non-keyboard event somehow).
gtk/gtkimcontextsimple.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimcontextsimple.c
b/gtk/gtkimcontextsimple.c
index cfc7b694719f4ede967766ca6a1feccad67a7a8c..06bdfb4160baa47e90a7f483ed9c13d3f37f4d4e 100644
(file)
--- a/
gtk/gtkimcontextsimple.c
+++ b/
gtk/gtkimcontextsimple.c
@@
-1102,7
+1102,7
@@
canonical_hex_keyval (GdkEventKey *event)
gint n_vals = 0;
gint i;
- if (gdk_event_get_keyval ((GdkEvent *) event, &event_keyval))
+ if (
!
gdk_event_get_keyval ((GdkEvent *) event, &event_keyval))
return 0;
/* See if the keyval is already a hex digit */